package com.yanqu.road.entity.activity.wealthscroll.config;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.List;
import java.util.Map;

@FieldTypeAnnotation(tableName = "t_s_activity_wealth_scroll",desc = "新财神密卷任务配置")
public class WealthScrollTaskConfig {
    @FieldTypeAnnotation(select = true,desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(desc = "任务编号")
    private int id;
    @FieldTypeAnnotation(desc = "完成任务参数列表")
    private int completeType;
    @FieldTypeAnnotation(desc = "完成任务参数列表")
    private String completeParams;
    //完成参数列表list
    private List<Integer> completeParamList;

    @FieldTypeAnnotation(desc = "奖励列表（第1期奖励 道具ID=道具数量；道具ID=道具数量|第2期奖励|第3期奖励")
    private String rewards;
    //切开来的每期奖励
    private Map<Integer,String> rewardMap;

    @FieldTypeAnnotation(desc = "是否进度奖励1是0否")
    private String isScheduleRewards;

    @FieldTypeAnnotation(desc = "是否特殊奖励（数字表示第n个奖励是大奖，0无大奖）")
    private String isSpecialRewards;

    @FieldTypeAnnotation(desc = "是否大奖 客户端字段")
    private String isSuperRewards;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCompleteType() {
        return completeType;
    }

    public void setCompleteType(int completeType) {
        this.completeType = completeType;
    }

    public String getCompleteParams() {
        return completeParams;
    }

    public void setCompleteParams(String completeParams) {
        this.completeParams = completeParams;
    }

    public String getRewards() {
        return rewards;
    }

    public void setRewards(String rewards) {
        this.rewards = rewards;
    }

    public Map<Integer, String> getRewardMap() {
        return rewardMap;
    }

    public void setRewardMap(Map<Integer, String> rewardMap) {
        this.rewardMap = rewardMap;
    }

    public String getIsScheduleRewards() {
        return isScheduleRewards;
    }

    public void setIsScheduleRewards(String isScheduleRewards) {
        this.isScheduleRewards = isScheduleRewards;
    }

    public String getIsSpecialRewards() {
        return isSpecialRewards;
    }

    public void setIsSpecialRewards(String isSpecialRewards) {
        this.isSpecialRewards = isSpecialRewards;
    }

    public List<Integer> getCompleteParamList() {
        return completeParamList;
    }

    public void setCompleteParamList(List<Integer> completeParamList) {
        this.completeParamList = completeParamList;
    }

    public String getNoRewards(int no) {
        return rewardMap.get(no);
    }

    public String getIsSuperRewards() {
        return isSuperRewards;
    }

    public void setIsSuperRewards(String isSuperRewards) {
        this.isSuperRewards = isSuperRewards;
    }
}
